﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ImportLicense.aspx.cs" 
    Inherits="ServBus.ListForm2010.AdministrationPages.ImportLicense,$SharePoint.Project.AssemblyFullName$" 
    MasterPageFile="~/_admin/admin.master" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="ServBus" Namespace="ServBus.ListForm2010.Controls"
    Assembly="$SharePoint.Project.AssemblyFullName$" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<asp:Content ContentPlaceHolderID="PlaceHolderTitleBreadcrumb" runat="server">
    <ServBus:BreadCrumbNav runat="server" ID="bcNav" IsCentralAdmin="true"></ServBus:BreadCrumbNav>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <asp:Literal runat="server" Text="<%$SBIBLF2010Resources:ServBus.ListForm2010.Common.Resources|AdminPages,Import_License_Title %>"></asp:Literal>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
    runat="server">
    <asp:Literal runat="server" Text="<%$SBIBLF2010Resources:ServBus.ListForm2010.Common.Resources|AdminPages,Import_License_Title %>"></asp:Literal>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <asp:Literal runat="server" Text="<%$SBIBLF2010Resources:ServBus.ListForm2010.Common.Resources|AdminPages,Import_License_Desc %>"></asp:Literal>
    <br />
    <asp:Label runat="server" ForeColor="Red" Text="<%$SBIBLF2010Resources:ServBus.ListForm2010.Common.Resources|AdminPages,License_Update_Warning %>"></asp:Label>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table border='0' width='100%' cellpadding='0' cellspacing='0'>
        <wssuc:InputFormSection runat="server"
            Title="<%$SBIBLF2010Resources:ServBus.ListForm2010.Common.Resources|AdminPages,Import_SectionTitle %>"
            Description="<%$SBIBLF2010Resources:ServBus.ListForm2010.Common.Resources|AdminPages,Import_SectionDesc %>">
            <Template_InputFormControls>
                <tr><td>
                    <asp:FileUpload runat="server" ID="fileLicense" CssClass="ms-longfileinput" /><br />
                    <asp:Label runat="server" ID="lblError" CssClass="ms-formvalidation"></asp:Label>
                </td></tr>
            </Template_InputFormControls>
        </wssuc:InputFormSection>
	    <wssuc:ButtonSection runat="server" ShowStandardCancelButton="false">
		    <Template_Buttons>
		        <asp:Button runat="server" CssClass="ms-ButtonHeightWidth" ID="btnOK"
		            Text="<%$SBIBLF2010Resources:ServBus.ListForm2010.Common.Resources|AdminPages,Import_Btn_OK %>"
		            OnClick="btnOK_Click" />
		        <asp:Button runat="server" CssClass="ms-ButtonHeightWidth"
		            Text="<%$SBIBLF2010Resources:ServBus.ListForm2010.Common.Resources|AdminPages,Import_Btn_Cancel %>"
		            OnClientClick="window.location='License.aspx';return false;" />
		    </Template_Buttons>
	    </wssuc:ButtonSection>
    </table>
</asp:Content>
